package net.narusas.aceauction.push.messageapp;

import org.springframework.context.support.FileSystemXmlApplicationContext;

public class Initializer {
	void init() {
		FileSystemXmlApplicationContext ctxt = new FileSystemXmlApplicationContext("cfg/spring.cfg.xml");
		Controller controller = (Controller)ctxt.getBean("controller");;
		
		AuctionPushMessageApp app = new AuctionPushMessageApp();
		controller.setApp(app);
		app.setController(controller);
		app.setVisible(true);
	}
	
	
}
